package com.zhengtoudai.ui.bean;

import java.util.List;

/**
 * Created by Administrator on 2016/9/1 0001.
 */

public class BorrowDetails {


    /**
     * minAmount : 50.0
     * couponList : []
     * availableInvestMoney : 8301.00
     * newListBorrow : [{"borrowTitle":"八月二十测一次","Published":true,"publishTime":"1472527227000","percentage":60,"allowTenderTime":"1473045627000","SignBorrowId":"[j]GnsDYMWrKk[d]","borrowSum":"1000.00","isDay":"个月","publickey":"6Ta4OaHZdpA=","leftAllowTender":400,"minAmount":"50.00","rate":"15.00","nowDate":"1472806077643","borrowType":{},"borrowTimeLimit":"5"}]
     * couponCount : 0
     * isFirst : false
     * redList : []
     * redCount : 0
     */

    private double minAmount;
    private String availableInvestMoney;
    private int couponCount;
    private boolean isFirst;
    private int redCount;
    private List<?> couponList;
    /**
     * borrowTitle : 八月二十测一次
     * Published : true
     * publishTime : 1472527227000
     * percentage : 60.0
     * allowTenderTime : 1473045627000
     * SignBorrowId : [j]GnsDYMWrKk[d]
     * borrowSum : 1000.00
     * isDay : 个月
     * publickey : 6Ta4OaHZdpA=
     * leftAllowTender : 400.0
     * minAmount : 50.00
     * rate : 15.00
     * nowDate : 1472806077643
     * borrowType : {}
     * borrowTimeLimit : 5
     */

    private List<NewListBorrowEntity> newListBorrow;
    /**
     * exchange_amount : 4.0
     * status : -2
     * red_money : 4.0
     * activity_name : 红包f
     * id : 25
     * redenvelope_id : 6
     * valid_time : 2016-09-06 18:12:54
     * min_money : 800.0
     * user_id : 250111
     * conversion_day : 1
     * release_time : 2016-09-05 18:12:54
     */

    private List<RedListEntity> redList;
    /**
     * realnameStatus : 2
     */

    private String realnameStatus;

    public void setMinAmount(double minAmount) {
        this.minAmount = minAmount;
    }

    public void setAvailableInvestMoney(String availableInvestMoney) {
        this.availableInvestMoney = availableInvestMoney;
    }

    public void setCouponCount(int couponCount) {
        this.couponCount = couponCount;
    }

    public void setIsFirst(boolean isFirst) {
        this.isFirst = isFirst;
    }

    public void setRedCount(int redCount) {
        this.redCount = redCount;
    }

    public void setCouponList(List<?> couponList) {
        this.couponList = couponList;
    }

    public void setNewListBorrow(List<NewListBorrowEntity> newListBorrow) {
        this.newListBorrow = newListBorrow;
    }



    public double getMinAmount() {
        return minAmount;
    }

    public String getAvailableInvestMoney() {
        return availableInvestMoney;
    }

    public int getCouponCount() {
        return couponCount;
    }

    public boolean isIsFirst() {
        return isFirst;
    }

    public int getRedCount() {
        return redCount;
    }

    public List<?> getCouponList() {
        return couponList;
    }

    public List<NewListBorrowEntity> getNewListBorrow() {
        return newListBorrow;
    }

    public void setRedList(List<RedListEntity> redList) {
        this.redList = redList;
    }

    public List<RedListEntity> getRedList() {
        return redList;
    }

    public void setRealnameStatus(String realnameStatus) {
        this.realnameStatus = realnameStatus;
    }

    public String getRealnameStatus() {
        return realnameStatus;
    }


    public static class NewListBorrowEntity {
        private String borrowTitle;
        private boolean Published;
        private long publishTime;
        private double percentage;
        private long allowTenderTime;
        private String SignBorrowId;
        private String borrowSum;
        private String isDay;
        private String publickey;
        private String leftAllowTender;
        private String minAmount;
        private String rate;
        private long nowDate;
        private String borrowTimeLimit;
        /**
         * imgUrl :
         * borrowType : {}
         */

        private String imgUrl;

        public void setBorrowTitle(String borrowTitle) {
            this.borrowTitle = borrowTitle;
        }

        public void setPublished(boolean Published) {
            this.Published = Published;
        }

        public void setPublishTime(long publishTime) {
            this.publishTime = publishTime;
        }

        public void setPercentage(double percentage) {
            this.percentage = percentage;
        }

        public void setAllowTenderTime(long allowTenderTime) {
            this.allowTenderTime = allowTenderTime;
        }

        public void setSignBorrowId(String SignBorrowId) {
            this.SignBorrowId = SignBorrowId;
        }

        public void setBorrowSum(String borrowSum) {
            this.borrowSum = borrowSum;
        }

        public void setIsDay(String isDay) {
            this.isDay = isDay;
        }

        public void setPublickey(String publickey) {
            this.publickey = publickey;
        }

        public void setLeftAllowTender(String leftAllowTender) {
            this.leftAllowTender = leftAllowTender;
        }

        public void setMinAmount(String minAmount) {
            this.minAmount = minAmount;
        }

        public void setRate(String rate) {
            this.rate = rate;
        }

        public void setNowDate(long nowDate) {
            this.nowDate = nowDate;
        }

        public void setBorrowTimeLimit(String borrowTimeLimit) {
            this.borrowTimeLimit = borrowTimeLimit;
        }

        public String getBorrowTitle() {
            return borrowTitle;
        }

        public boolean isPublished() {
            return Published;
        }

        public long getPublishTime() {
            return publishTime;
        }

        public double getPercentage() {
            return percentage;
        }

        public long getAllowTenderTime() {
            return allowTenderTime;
        }

        public String getSignBorrowId() {
            return SignBorrowId;
        }

        public String getBorrowSum() {
            return borrowSum;
        }

        public String getIsDay() {
            return isDay;
        }

        public String getPublickey() {
            return publickey;
        }

        public String getLeftAllowTender() {
            return leftAllowTender;
        }

        public String getMinAmount() {
            return minAmount;
        }

        public String getRate() {
            return rate;
        }

        public long getNowDate() {
            return nowDate;
        }

        public String getBorrowTimeLimit() {
            return borrowTimeLimit;
        }

        public void setImgUrl(String imgUrl) {
            this.imgUrl = imgUrl;
        }

        public String getImgUrl() {
            return imgUrl;
        }
    }

    public static class RedListEntity {
        private double exchange_amount;
        private int status;
        private double red_money;
        private String activity_name;
        private String id;
        private int redenvelope_id;
        private String valid_time;
        private double min_money;
        private int user_id;
        private int conversion_day;
        private String release_time;

        public void setExchange_amount(double exchange_amount) {
            this.exchange_amount = exchange_amount;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public void setRed_money(double red_money) {
            this.red_money = red_money;
        }

        public void setActivity_name(String activity_name) {
            this.activity_name = activity_name;
        }

        public void setId(String id) {
            this.id = id;
        }

        public void setRedenvelope_id(int redenvelope_id) {
            this.redenvelope_id = redenvelope_id;
        }

        public void setValid_time(String valid_time) {
            this.valid_time = valid_time;
        }

        public void setMin_money(double min_money) {
            this.min_money = min_money;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public void setConversion_day(int conversion_day) {
            this.conversion_day = conversion_day;
        }

        public void setRelease_time(String release_time) {
            this.release_time = release_time;
        }

        public double getExchange_amount() {
            return exchange_amount;
        }

        public int getStatus() {
            return status;
        }

        public double getRed_money() {
            return red_money;
        }

        public String getActivity_name() {
            return activity_name;
        }

        public String getId() {
            return id;
        }

        public int getRedenvelope_id() {
            return redenvelope_id;
        }

        public String getValid_time() {
            return valid_time;
        }

        public double getMin_money() {
            return min_money;
        }

        public int getUser_id() {
            return user_id;
        }

        public int getConversion_day() {
            return conversion_day;
        }

        public String getRelease_time() {
            return release_time;
        }
    }
}
